package com.bupt.cosmfl.cosmflweb.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bupt.cosmfl.cosmflweb.dto.NodeRegisterDTO;
import com.bupt.cosmfl.cosmflweb.dto.PageDTO;
import com.bupt.cosmfl.cosmflweb.model.NodeEntity;

/**
 * @Author fangtiewei
 * @Date 2021/7/28 16:26
 * @Description
 */
public interface NodeManageService {

    IPage<NodeEntity> list(PageDTO dto);

    Integer registerNode(NodeRegisterDTO dto);

    void deleteNode(Long id);
}
